@layout("/backend/common/_containerForHis.html"){
<link href="${ctxPath}/static/backend/sdc/home/home.css" rel="stylesheet">
<#Hidden id="departCode" value="${departCode!}"/>
<#Hidden id="departDesc" value="${departDesc!}"/>
<#Hidden id="entityMap" value="${entityMap}"/>
<#Hidden id="drgCode" value="${drgCode!}"/>
<div class="hisui-panel" id="homeHtmlDesc" style="padding: 10px;"
     data-options="headerCls:'panel-header-gray',bodyCls:'panel-body-gray',iconCls:'icon-analysis'">
     <div class="col-sm-12 dhcc-con" style="padding: 0px 10px 0px 10px">
			<table id="queryCon" style="border-collapse: separate;">
				<tr>
					<td class='r-label' for="drgType" style="padding: 0px 10px 10px 0px">病种</td>
					<td style="padding: 0px 20px 10px 20px;"><input class="hisui-combobox textbox" id="drgType"  /></td>
                    <td class='r-label ' for="depart" style="padding: 0px 10px 10px 0px">科室</td>
                    <td class='' style="padding: 0px 20px 10px 20px;"><input class="hisui-textbox textbox" id="depart" value="${departDesc!}" readonly/></td>
                    <td class='r-label ' for="medicalGroup" style="padding: 0px 10px 10px 0px">医疗组</td>
                    <td class='' style="padding: 0px 20px 10px 20px;"><input class="hisui-combobox textbox" id="medicalGroup"/></td>
                    <!--<td class='r-label' for="doctor" style="padding: 0px 10px 10px 0px">主治医生</td>-->
                    <td style="padding: 0px 10px 10px 20px;"><hidden class="hisui-textbox textbox" style="width:145px" id="doctor"/></td>
                    <td class='r-label'style="padding: 0px 10px 10px 0px">
                        <a href="#" id="search" class="hisui-linkbutton" onclick = "DepartHome.init()">查询</a>
                    </td>
				</tr>
			</table>
		</div>
    <!-- Top Start -->
    <div style="width:100%;height:120px;">
        <!-- 质控人数 Start -->
        <div class="homeTopDiv" style="margin-bottom: 10px">
            <div style="float:left; width:40%;height:100%;padding: 10px;">
                <img style="width:80px;height:80px;margin-top:15px;" alt="触发质控人数"
                     src="${ctxPath}/static/backend/sdc/home/images/qcCase.png">
            </div>
            <div style="float:left; width:60%;height:100%">
                <table style="width:100%;height:100%;">
                    <tr>
                        <td class="bedCaseFonts" >
                            <a class="homeCaseDeatil" id="qcCase"></a>
                        </td>
                        <td class="bedCaseFonts" id="qcCaseRate"></td>
                    </tr>
                    <tr>
                        <td class="bedCaseFonts" colspan="2">触发质控人数</td>
                    </tr>
                </table>
            </div>
        </div>
        <!-- 质控人数 End -->
        <!-- 质控人次 Start -->
        <div class="homeTopDiv" style="margin-bottom: 10px">
            <div style="float:left; width:40%;height:100%;padding: 10px;">
                <img style="width:80px;height:80px;margin-top:15px;" alt="触发质控人次"
                     src="${ctxPath}/static/backend/sdc/home/images/qcCaseNum.png">
            </div>
            <div style="float:left; width:60%;height:100%">
                <table style="width:100%;height:100%;">
                    <tr>
                        <td class="bedCaseFonts" >
                            <a class="homeCaseDeatil" id="qcCaseNum"></a>
                        </td>
                    </tr>
                    <tr>
                        <td class="bedCaseFonts" colspan="2">触发质控人次</td>
                    </tr>
                </table>
            </div>
        </div>
        <!-- 质控人次 End -->
        <!-- 患者数 Start -->
        <div class="homeTopDiv" style="margin-bottom: 10px">
            <div style="float:left; width:40%;height:100%;padding: 10px;">
                <img style="width:80px;height:80px;margin-top:15px;" alt="入组患者数"
                     src="${ctxPath}/static/backend/sdc/home/images/inCase.png">
            </div>
            <div style="float:left; width:60%;height:100%">
                <table style="width:100%;height:100%;">
                    <tr>
                        <td class="bedCaseFonts" >
                            <a class="homeCaseDeatil" id="inCase"></a>
                        </td>
                        <td class="bedCaseFonts" id="inCaseRate"></td>
                    </tr>
                    <tr>
                        <td class="bedCaseFonts" colspan="2">入组患者数</td>
                    </tr>
                </table>
            </div>
        </div>
        <!-- 患者数 End -->
        <!-- 病种数 Start -->
        <div class="homeTopDiv" style="margin-bottom: 10px">
            <div style="float:left; width:40%;height:100%;padding: 10px;">
                <img style="width:80px;height:80px;margin-top:15px;" alt="质控病种数"
                     src="${ctxPath}/static/backend/sdc/home/images/disease.png">
            </div>
            <div style="float:left; width:60%;height:100%">
                <table style="width:100%;height:100%;">
                    <tr>
                        <td class="bedCaseFonts" >
                            <a class="homeCaseDeatil" id="drgNum"></a>
                        </td>
                    </tr>
                    <tr>
                        <td class="bedCaseFonts" colspan="2">质控病种数</td>
                    </tr>
                </table>
            </div>
        </div>
        <!-- 病种数 End -->
        <!-- 在院病例 Start -->
        <div class="homeTopDiv" style="margin-right: 0px !important; margin-bottom: 10px">
            <div style="float:left; width:40%;height:100%;padding: 10px;">
                <img style="width:80px;height:80px;margin-top:15px;" alt="在院病例"
                     src="${ctxPath}/static/backend/sdc/home/images/allCase.png">
            </div>
            <div style="float:left; width:60%;height:100%">
                <table style="width:100%;height:100%;">
                    <tr>
                        <td class="bedCaseFonts">
                            <span id="allCase"></span>
                        </td>
                    </tr>
                    <tr>
                        <td class="bedCaseFonts" colspan="2">在科患者</td>
                    </tr>
                </table>
            </div>
        </div>
        <!-- 在院病例 End -->
    </div>
    <!-- Top End -->

    <!-- Middle Chart Start -->
    <div style="width:100%;height:200px;margin-top: 10px;padding-right: 0px;">
        <div class="homeMiddleDiv">
            <div class="homMiddleDivSub">
                <img id="evalImg1" class="homeTopImages" alt="病种统计" src="${ctxPath}/static/backend/sdc/home/images/disease.png">
                <span class="homeTopFonts">病种统计</span>
            </div>
            <div class="homeToplines"></div>
            <div id="drgChart" class="homMiddleDivContent"></div>
        </div>
        <div class="homeMiddleDiv">
            <div class="homMiddleDivSub">
                <img id="evalImg3" class="homeTopImages" alt="医生统计" src="${ctxPath}/static/backend/sdc/home/images/doctor.png">
                <span class="homeTopFonts">医生统计</span>
            </div>
            <div class="homeToplines"></div>
            <div id="doctorChart" class="homMiddleDivContent"></div>
        </div>
        <div class="homeMiddleDiv" style="margin-right: 0px !important;">
            <div class="homMiddleDivSub">
                <img id="evalImg2" class="homeTopImages" alt="患者统计" src="${ctxPath}/static/backend/sdc/home/images/patient.png">
                <span class="homeTopFonts">患者统计</span>
            </div>
            <div class="homeToplines"></div>
            <div id="patientChart" class="homMiddleDivContent"></div>
        </div>
    </div>
    <!-- Middle Chart End -->
</div>
<div style="margin-top: 10px;"></div>
<div class="hisui-panel" id="homeTableDesc"
     data-options="headerCls:'panel-header-gray',bodyCls:'panel-body-gray',iconCls:'icon-paper',tools:'#tt'">
    <!--<div id='tt'>
        <a href="#" class="icon-download" id="exportTable" title="导出表格" onclick="Home.exportTable()"></a>
    </div>-->
    <!-- Table Start -->
    <div id="tableDiv" style="width:100%;height: auto;margin-top: 2px;">
        <table id="doctorTable"></table>
    </div>
    <!-- Table End -->
</div>

<script src="${ctxPath}/static/common/js/vteEcharts.js"></script>
<script src="${ctxPath}/static/backend/sdc/docapi/departhome.js"></script>

@}

